package com.karolak.sm.state;

import com.karolak.sm.StateMachine;
import com.karolak.sm.event.CbConstants.CbEvent;
import com.karolak.sm.exception.TransitionException;

public class StateBaseCb extends StateBase implements CbState {

	public StateBaseCb(StateMachine stateMachine, StateId stateId) {
		super(stateMachine, stateId);
	}

	public void connect() throws TransitionException {
		super.execute(CbEvent.CONNECT);
	}

	public void disconnect() throws TransitionException {
		super.execute(CbEvent.DISCONNECT);
	}
}
